import Cookie from 'js-cookie';

const key = 'authorization';

export function setCookie(value :string){
    Cookie.set(key , value , { expires : 1 });
}

export function removeCookie(){
    Cookie.remove( key)
}

export function getCookie(){
    return Cookie.get( key )
}